<?php

namespace app\common\model\task;


use app\common\model\BaseModel;
use app\common\service\FileService;


/**
 * Book模型
 * Class Subscription
 * @package app\common\model
 */
class Task extends BaseModel
{
    
    protected $name = 'task';

    public function getIconAttr($value)
    {
        return trim($value) ? FileService::getFileUrl($value) : '';
    }
    
}